//封装所有用户相关的接口函数
import httpInstance from "@/utils/http"
//登录接口
export const loginAPI = (account,password) => {
  return httpInstance.post('/login',{
    account,
    password
  })
}


//猜你喜欢
export const getLikeListAPI = (limit = 4) => {
  return httpInstance.get('/goods/relevant',{
    params:{
      limit
    }
  })
}
